﻿namespace eslib.FileManageLib
{
    public class DirSetting
    {
        /// <summary>
        /// url
        /// </summary>
        public string name { get; set; }

        public string type { get; set; }

        public DirType GetDirType()
        {
            if (type == "longtime") return DirType.longtime;
            else return DirType.temp;
        }

        public int validate { get; set; }

    }
}

